MCS_FLAGS = -debug -nowarn:0169
ASSEMBLY_NAME = ModelConverter
ASSEMBLY = $(ASSEMBLY_NAME).exe

opennlpdir = $(pkglibdir)
opennlp_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb

ASSEMBLY_REFERENCES = \
	-r:../SharpEntropy/SharpEntropy.dll \
	-r:../OpenNLP/OpenNLP.dll


ASSEMBLY_SOURCES = \
	$(srcdir)/ModelConverter/Converter.cs


$(ASSEMBLY): $(ASSEMBLY_SOURCES)
	$(MCS) $(MCS_FLAGS) -target:exe -out:$@ $(ASSEMBLY_REFERENCES) $(ASSEMBLY_SOURCES)

EXTRA_DIST = \
	$(ASSEMBLY_SOURCES)

CLEANFILES = $(ASSEMBLY) *.dll *.exe
DISTCLEANFILES = *.mdb
MAINTAINERCLEANFILES = Makefile.in
